package com.waterfairy.http.response;


/**
 * @author water_fairy
 * @email 995637517@qq.com
 * @date 2019-08-09 14:05
 * @info:
 */
public class BaseResponse<T> implements IBaseResponse {
    private boolean success;
    private int resultCode;
    private String msg;
    private String time;
    private T data;

    public boolean isSuccess() {
        return success;
    }

    public String getTime() {
        return time;
    }

    public T getData() {
        return data;
    }

    @Override
    public int getResultCode() {
        return resultCode;
    }

    @Override
    public String getMessage() {
        return msg;
    }
}
